/* 
 * File:   RenCommand.h
 * Author: Bram
 *
 * Created on January 23, 2013, 1:36 PM
 */

#ifndef RENCOMMAND_H
#define	RENCOMMAND_H

#include "Command.h"

class RenCommand : public Command
{
public:
    RenCommand();
    RenCommand(const char *);
    virtual ~RenCommand();
    Command* createNew();
    bool isValid();
    void ExcecuteServerReceiveCommand(TcpSocket* dasSocket, queue<Command *>& commandQueue);
    void ExcecuteServerSendCommand(TcpSocket* dasSocket, queue<Command *>& commandQueue);
    
    void ExcecuteClientReceiveCommand(TcpSocket* dasSocket, queue<Command *>& commandQueue);
    void ExcecuteClientSendCommand(TcpSocket* dasSocket, queue<Command *>& commandQueue);
    
    
private:
    static RenCommand cInstance;
};

#endif	/* RENCOMMAND_H */

